<template>
    <div class="container">
        <h1>需要登录页面</h1>
    </div>
</template>

<script>
    //import api from '@/constant/api'
    import * as types from '@/vuex/types'

    export default {
        name: 'repository',
        data () {
            return {
                msg: '',
                list: []
            }
        },
        mounted(){
            this.$store.commit('login/'+types.TITLE, 'Your Repositories');
            this.getRepository();
        },

        methods: {
            getRepository(){
                let params = {
                    sort: 'updated'
                }
                //this.axios.get(api.repo_list, params)
                    //.then(response => {
                        //this.list = response.data;
                    //})
            }
        }
    }
</script>